package com.jackiechancinema.ssm.service.Inte;

import com.jackiechancinema.ssm.bo.PerfBo;
import com.jackiechancinema.ssm.entity.Perf;
import com.jackiechancinema.ssm.vo.PageVo;
import com.jackiechancinema.ssm.vo.R;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface PerfService {
    //列表分页查询
    PageVo<Perf> queryAll(PerfBo pageBo);
    //添加操作
    R insert(Perf perf);
    //删除操作
    R delete(int perf_id);
    //更改
    R update(Perf perf);
    //条件查询
    R batchAdd(MultipartFile file);

    void exportExcel(PerfBo perfBo, HttpServletResponse response);
}
